package com.mall;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


@MapperScan("com.mall.dao")  //告诉springBoot，mybatis的映射接口对应的包名
@SpringBootApplication
//@ComponentScan("other","")  //指定扫描哪个包下的类
public class DepartmentMallApplication {

    //是spring程序的入口类
    //把需要纳入spring窗口管理的类，放到此类对应的包的子包中即可

    public static void main(String[] args) {

        SpringApplication.run(DepartmentMallApplication.class, args);
    }

}
